# encoding: utf8
from app.parameters import  decry_server
import binascii, base64
from Crypto.Cipher import AES

key = base64.decodestring('MC8Lpxk9zqyuRPXMdO8rJQ==')
mode = AES.MODE_CBC
iv_de=''
a = '3f25af75fd097fa66187ab8033c2b60845986156f81a31d5a0f1e857315bb14505bcb2b547699ac67abb68fda6b463e1e7fdbb1da82a7fd5'
# c = 'rH1uHf9JAv4uU8zIEdOz2WUQfCnPw+JcTAVhskzRB8VHHiKqpb3i986n4yNzE9Fg1HzFc5O2shRSgVpcjRW+gzd0S+tVRjG0eE5xoxo/dmslbEz9P/BTgTi8J7MT9ea1M2LcyxJtjPyvlpdUQkY3bRsoKSIsHkmB5ext4dBvE2ml5oHu3o8eq6EgrosNO2QWFHCzNmXLabLQWlpZJ/nFkKNQnGNcTuNKrdXFhofj3bz277oyAaroGQO9Qj1M73nwHzp32G1n12DTq8uuINIHmUJV'
pc = decry_server.prpcrypt()
s2 = pc.decrypt(pc.unak(a))
# cryptor = AES.new(key,mode,iv_de)
#
# s2 = pc.unak(a)
# n = cryptor.decrypt(binascii.a2b_hex(s2))
print s2


